<%@ page import="cn.ixinjiu.libraryMangement.entity.BookInfo" %>
<%@ page import="cn.ixinjiu.libraryMangement.service.impl.BookInfoServiceImpl" %>
<%@ page import="cn.ixinjiu.libraryMangement.service.IBookInfoService" %>
<%@ page import="cn.ixinjiu.libraryMangement.service.impl.AnnoServiceImpl" %>
<%@ page import="cn.ixinjiu.libraryMangement.service.IAnnoService" %>
<%@ page import="cn.ixinjiu.libraryMangement.entity.Anno" %>
<%@ page import="cn.ixinjiu.libraryMangement.service.IBorrowInfoService" %>
<%@ page import="cn.ixinjiu.libraryMangement.service.impl.BorrowInfoServiceImpl" %>
<%@ page import="cn.ixinjiu.libraryMangement.entity.BorrowInfo" %><%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2023/6/28
  Time: 17:46
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
  <title>公告详情</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <link rel="stylesheet" href="/static/layui/css/layui.css" media="all">
  <script src="/static/layui/layui.js" charset="utf-8"></script>
</head>
<body>
<%
  IBorrowInfoService iBorrowInfoService = new BorrowInfoServiceImpl();
  BorrowInfo borrowInfo = iBorrowInfoService.getBorrowInfoById(Integer.parseInt(request.getParameter("id")));
%>

<form class="layui-form   layui-form-pane" action="">
  <%-- 隐藏id --%>
  <input type="id" name="id" value=<%=borrowInfo.getId() %> class="layui-hide">
  <!-- 借阅信息编号 -->
    <div class="layui-form-item">
      <label class="layui-form-label">编号</label>
      <div class="layui-input-block">
        <input type="text" name="book_name" value=<%= borrowInfo.getId() %> required lay-verify="required"
               autocomplete="off" class="layui-input" disabled>
      </div>
    </div>
  <!-- 用户编号 -->
    <div class="layui-form-item">
      <label class="layui-form-label">用户编号</label>
      <div class="layui-input-block">
        <input type="text" name="book_name" value=<%= borrowInfo.getUserId() %> required lay-verify="required"
               autocomplete="off" class="layui-input" disabled>
      </div>
    </div>
  <!-- 书籍编号 -->
    <div class="layui-form-item">
      <label class="layui-form-label">书籍编号</label>
      <div class="layui-input-block">
        <input type="text" name="book_name" value=<%= borrowInfo.getBookId() %> required lay-verify="required"
               autocomplete="off" class="layui-input" disabled>
      </div>
    </div>
    <!-- 借阅日期 -->
    <div class="layui-form-item">
      <label class="layui-form-label">借阅日期</label>
      <div class="layui-input-block">
        <input type="text" name="book_name" value=<%= borrowInfo.getBorrowDate() %> required lay-verify="required"
               autocomplete="off" class="layui-input" disabled>
      </div>
    </div>
    <!-- 应还日期 -->
    <div class="layui-form-item">
      <label class="layui-form-label">应还日期</label>
      <div class="layui-input-block">
        <input type="text" name="book_name" value=<%= borrowInfo.getReturnDate() %> required lay-verify="required"
               autocomplete="off" class="layui-input" disabled>
      </div>
    </div>
    <!-- 是否归还 -->
    <div class="layui-form-item">
      <label class="layui-form-label">是否归还</label>
      <div class="layui-input-block">
        <input type="text" name="book_name" value=<%= borrowInfo.getIsReturned() %> required lay-verify="required"
               autocomplete="off" class="layui-input" disabled>
      </div>
    </div>
    <!-- 是否逾期 -->
    <div class="layui-form-item">
      <label class="layui-form-label">是否逾期</label>
      <div class="layui-input-block">
        <input type="text" name="book_name" value=<%= borrowInfo.getIsOverdue() %> required lay-verify="required"
               autocomplete="off" class="layui-input" disabled>
      </div>
    </div>
    <!-- 逾期天数 -->
    <div class="layui-form-item">
      <label class="layui-form-label">逾期天数</label>
      <div class="layui-input-block">
        <input type="text" name="book_name" value=<%= borrowInfo.getOverdueDays() %> required lay-verify="required"
               autocomplete="off" class="layui-input" disabled>
      </div>
    </div>

</form>

</body>
</html>
